package cn.kgc.crowdfundingadminspringboot3.service;

import cn.kgc.crowdfundingadminspringboot3.pojo.Admin;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdminService {

    Admin selectByPrimaryKey(Integer id);
    //用户登录
    Admin login(String loginAcct,String userPswd);

    PageInfo<Admin> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);

    public void batchRemove(List<Integer> adminIdList);

    //添加用户
    public void saveAdmin(Admin admin);

    //查询用户进行修改
    public Admin getAdminById(Integer adminId);

    //修改用户
    public void updateAdmin(Admin admin);
}
